<?php get_header(); ?>
<div id="content">
	<?php include (TEMPLATEPATH . '/glide.php'); ?>
	<div id="myslides"><?php include (TEMPLATEPATH . "/slide.php"); ?></div>
	<?php include (TEMPLATEPATH . "/tab.php"); ?>
<div id="lpst"></div>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<?php $screen = get_post_meta($post->ID,'screen', true); ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" ><img src="<?php bloginfo('siteurl'); ?><?php echo ($screen); ?>" width="100" height="70" alt="<?php the_title(); ?>" /></a>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="mentry"><?php the_excerpt(); ?> <div class="clear"></div></div>
<div class="postinfo">
	<div class="time"><?php the_time('F - j - Y'); ?> </div>
	<div class="rmore"><a href="<?php the_permalink() ?>">Play Now</a> </div>
</div>
</div><!-- .post -->

<?php endwhile; ?>
	<div class="navigation">
	<?php if(function_exists('wp_pagenavi')) { wp_pagenavi();} ?>  
	</div>

<?php else : ?>
<div class="post">
	<h1 class="title">Not Found</h1>
	<p>You are looking for something that isn't here.</p>
</div>
<?php endif; ?>	
</div><!-- #content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>